Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore host when comparing role grants #190

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

jessebye
Copy link

@jessebye jessebye commented Jan 10, 2025

Fix for #169 (comment). Tested locally and confirmed that the roles are granted successfully and the state inconsistency is resolved!

@petoju
Copy link
Owner

petoju commented Jan 11, 2025

Thanks! Could you please create a test that verifies this was solved? It would be in resource_grant_test.go.

My point is to have a regression test, that fails with the old implementation and is fixed by this change. That way, we would avoid this issue from repeating.

@jessebye
Copy link
Author

@petoju Sure, I will work on that.

@jessebye
Copy link
Author

@petoju Added a test for this 👍

@petoju
Copy link
Owner

petoju commented Jan 13, 2025

Thanks, this looks good!

@petoju petoju merged commit 51183e9 into petoju:master Jan 13, 2025
12 checks passed
@petoju
Copy link
Owner

petoju commented Jan 13, 2025

Released in 3.0.69.

Note that this may contain issues like 3.0.68, that were reported in #189 - nothing was done about them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants